package org.geekbang.thinkinginspring.advisors;

/**
 * 增强的方法类
 *
 * @author jie
 */
public class ForumService {

    public void removeTopic(int topicId) {
        System.out.println("模拟删除Topic记录：" + topicId);
        try {
            Thread.sleep(20);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }

    public void removeForum(int forumId){
        System.out.println("模拟删除Forum记录：" + forumId);
        try {
            Thread.sleep(40);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}
